home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr49 / vesa18.zip / VESA_PM.H < prev    next >
C/C++ Source or Header  |  1994-10-08  |  1KB  |  54 lines

  1. #define WM_NEWMODE       WM_USER + 1
  2. #define WM_DONTUPDATE    WM_USER + 2
  3. #define WM_UPDATE        WM_USER + 3
  4. #define WM_FINISH        WM_USER + 4
  5. #define WM_NEWCHAR       WM_USER + 5
  6. #define WM_CHGPALETTE    WM_USER + 6
  7. #define WM_SETMOUSEPOS   WM_USER + 7
  8.  
  9. #define ID_TIMER         1
  10.  
  11. #pragma pack(1)
  12.  
  13. typedef struct
  14.   {
  15.     HEV   hev;
  16.     HWND  hwndGraph;
  17.     HWND  hwndText;
  18.     PVOID GraphBuffer;
  19.     CHAR  Pipe1Name[25];
  20.     CHAR  Pipe2Name[25];
  21.     CHAR  Pipe3Name[25];
  22.     CHAR  Pipe4Name[25];
  23.     CHAR  ProgName[25];
  24.     BOOL  modified;
  25.     struct
  26.       {
  27.         ULONG  cbFix;
  28.         ULONG  cx;
  29.         ULONG  cy;
  30.         USHORT cPlanes;
  31.         USHORT cBitCount;
  32.         ULONG  ulCompression;
  33.         ULONG  cbImage;
  34.         ULONG  cxResolution;
  35.         ULONG  cyResolution;
  36.         ULONG  cclrUsed;
  37.         ULONG  cclrImportant;
  38.         USHORT usUnits;
  39.         USHORT usReserved;
  40.         USHORT usRecording;
  41.         USHORT usRendering;
  42.         ULONG  cSize1;
  43.         ULONG  cSize2;
  44.         ULONG  ulColorEncoding;
  45.         ULONG  ulIdentifier;
  46.         RGB2   argbColor[256];
  47.       } bmi;
  48.     POINTL pointl[4];
  49.     UCHAR  bits;
  50.     USHORT mousex;
  51.     USHORT mousey;
  52.     USHORT mousestatus;
  53.   } DATABUFFER;
  54.